package org.hegang.design.first.adapterpattern.demo1;

/**
 * @ClassName Demo
 * @Describe:
 * @Author: gang.he
 * @Date: Created in 14:28 2021/4/22
 * @Modified:
 * @Version: V1.0
 */
public class Demo {
    public static void main(String[] args) {
        Computer computer = new Computer();
        Cable cable = new Cable();
        Adapter adapter = new CableHandleAdapter();
        computer.network(adapter);
    }
}
